<%@ Page Language="c#" MasterPageFile="~/Calendar/CalenderMasterPage.master"
    AutoEventWireup="false" Inherits="calendar.index.indexPage" ResponseEncoding="utf-8" MaintainScrollPositionOnPostback="true" Codebehind="index.aspx.cs" %>

<%@ Import Namespace="calendar.index" %>
<%@ Import Namespace="calendar.Configuration" %>
<%@ Import Namespace="calendar.Data" %>
<%@ Register TagPrefix="calendar"  Namespace="calendar.infopanel" Assembly="OpenSIS" %>

<%@ Register TagPrefix="calendar" TagName="infopanel" Src="~/Calendar/infopanel.ascx" %>

<%--<%@ Register TagPrefix="calendar"   Namespace="calendar.infopanel" Assembly="OpenSIS" %>--%>

<%@ Register TagPrefix="CC" Namespace="calendar.Controls" Assembly="OpenSIS" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <script type="text/javascript" src="../Scripts/Calendar.js"></script>

    <script type="text/javascript">
       
    </script>

    <script language="JavaScript">
        function openWin(url) {
            var w_left = Math.ceil(screen.width / 2 - 300);
            var openWin = window.open(url, "VoteWin", "left=" + w_left + ",top=30,scrollbars=no,menubar=no,height=450,width=600,resizable=yes,toolbar=no,location=no,status=no,modal=true");
            openWin.focus();
        }
    </script>

    <asp:UpdatePanel ID="up1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="panel_AddEvent" Style="display: none" runat="server" CssClass="ModalPopup"
                Width="450" Height="336">
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="modal_header_left bottom_black">
                            &nbsp;
                        </td>
                        <td class="modal_header_bg" valign="top">
                            <div class="modal_header">
                                <asp:Literal ID="ML_0004" runat="server" meta:resourcekey="ML_0004">Add Event</asp:Literal></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="modal_rtgrey">
                            &nbsp;
                        </td>
                        <td class="modal_bg">
                            <div style="overflow: auto; overflow-x: hidden; width: 390px; height: 230px;">
                                <table cellspacing="0" cellpadding="4" width="100%">
                                 <tr>
                                        <td class="rcontent" colspan="3">
                                           <asp:RadioButtonlist ID="rbeventtype" runat="server" RepeatDirection="Horizontal" >
                                            <asp:ListItem Value="S" Selected="True" meta:resourcekey="Ml_rbltype1">Schoool Day</asp:ListItem>
                                            <asp:ListItem Value="H" meta:resourcekey="Ml_rbltype2">Holiday</asp:ListItem>
                                           
                                           </asp:RadioButtonlist>
                                        </td>
                                        
                                        <td>
                                            
                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="rcontent">
                                            <asp:Literal ID="ML_0005" runat="server" meta:resourcekey="ML_0005">Date</asp:Literal>
                                        </td>
                                        <td class="colon">
                                            :
                                        </td>
                                        <td>
                                            <asp:Label CssClass="blue_mid" ID="events_recevent_date" maxlength="10" Columns="10"
                                                runat="server"></asp:Label>
                                            <br />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="rcontent" valign="top">
                                            <asp:Literal ID="ML_0008" runat="server" meta:resourcekey="ML_0008">Title</asp:Literal><span class="red2"></span>
                                        </td>
                                        <td class="colon" valign="top">
                                            :
                                        </td>
                                        <td valign="top">
                                            <%--<asp:Label ID="events_recevent_titlelbl" runat="server"></asp:Label>--%>
                                            <asp:TextBox CssClass="textbox1" ID="events_recevent_titleadd" MaxLength="100" Columns="50"
                                                runat="server" />
                                                <asp:RequiredFieldValidator ID="rfvTitle" runat="server" ControlToValidate="events_recevent_titleadd" ErrorMessage="<div class='alert' align='left' style='vertical-align:top;'>Cannot be left blank</div>" Display="Dynamic"
                                                ValidationGroup="vgAdd" meta:resourcekey="rfvTitle"></asp:RequiredFieldValidator>
                                                
                                                
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="rcontent_small" valign="top">
                                            <asp:Literal ID="ML_0012" runat="server" meta:resourcekey="ML_0012" >Notes</asp:Literal>
                                        </td>
                                        <td class="colon" valign="top">
                                            :
                                        </td>
                                        <td valign="top">
                                            <%--<asp:Label ID="events_recevent_desclbl" runat="server"></asp:Label>--%>
                                            <asp:TextBox CssClass="textarea" ID="events_recevent_descadd" Rows="5" Columns="50"
                                                TextMode="MultiLine" runat="server" meta:resourcekey="events_recevent_descadd"/>
                                                
                                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="events_recevent_descadd" ErrorMessage="<div class='alert' align='left'>Cannot be left blank</div>" Display="Dynamic"
                                                ValidationGroup="vgAdd" meta:resourcekey="RequiredFieldValidator1"></asp:RequiredFieldValidator>
                                                
                                            <input id="events_recuser_id" type="hidden" runat="server" />
                                            <asp:HiddenField ID="events_recevent_is_public" runat="server" Value="1" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="separator_hor">
                            </div>
                            <table width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="right">
                                      
                                            
                                              <asp:Button CssClass="modalbtn_active" ID="events_recButton_Insert" runat="server" Text="Save" OnClick="events_rec_Insert" meta:resourcekey="events_recButton_Insert" validationgroup="vgAdd"/>
         
          <asp:Button CssClass="modalbtn_active" ID="events_recButton_Canceladd" runat="server" Text="Cancel" OnClick="events_rec_Cancel" meta:resourcekey="events_recButton_Canceladd" CausesValidation="false" OnClientClick="hidePopup('ctl00_ContentPlaceHolder1_ModalPopupExtender3')"/>
                                            
                                            
                                            
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="panel_ViewEdit" Style="display: none" runat="server" CssClass="ModalPopup"
                Width="450" Height="255">
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="modal_header_left bottom_black">
                            &nbsp;
                        </td>
                        <td class="modal_header_bg" valign="top">
                            <div class="modal_header">
                                <asp:Literal ID="ML_0018" runat="server" meta:resourcekey="ML_0018">View Event</asp:Literal></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="modal_rtgrey">
                            &nbsp;
                        </td>
                        <td class="modal_bg">
                            <div style="overflow: auto; overflow-x: hidden; width: 390px; height: 143px;">
                                <table width="100%" cellspacing="0" cellpadding="4">
                                
                                 <tr>
                                        <td class="rcontent" colspan="3">
                                           <asp:RadioButtonlist ID="rblEventtypeview" runat="server" RepeatDirection="Horizontal">
                                            
                                            <asp:ListItem Value="S" meta:resourcekey="Ml_rbltype1"></asp:ListItem>
                                            <asp:ListItem Value="H" meta:resourcekey="Ml_rbltype2"></asp:ListItem>
                                           
                                           
                                           </asp:RadioButtonlist>
                                        </td>
                                    </tr>
                                
                                
                                
                                    <tr>
                                        <td class="rcontent">
                                            <asp:Literal ID="ML_0019" runat="server" meta:resourcekey="ML_0019">Date</asp:Literal>
                                        </td>
                                        <td class="colon">
                                            :
                                        </td>
                                        <td>
                                            <asp:Label CssClass="blue_mid" ID="events_recevent_dateview" maxlength="10"
                                                Columns="10" runat="server"></asp:Label>
                                            <br />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="rcontent">
                                            <asp:Literal ID="ML_0022" runat="server" meta:resourcekey="ML_0022">Title</asp:Literal><span class="red2"></span>
                                        </td>
                                        <td class="colon">
                                            :
                                        </td>
                                        <td>
                                            <asp:Label CssClass="blue_mid" ID="events_recevent_titlelbl" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="rcontent">
                                            <asp:Literal ID="ML_0025" runat="server" meta:resourcekey="ML_0025">Notes</asp:Literal>
                                        </td>
                                        <td class="colon">
                                            :
                                        </td>
                                        <td>
                                            <asp:Label CssClass="blue_mid" ID="events_recevent_desclbl" runat="server"></asp:Label>
                                            <input id="Hidden1" type="hidden" runat="server" />
                                            <asp:HiddenField ID="HiddenField1" runat="server" Value="1" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="separator_hor">
                            </div>
                            <table width="100%">
                                <tr>
                                    <td align="right">
                                    
                                    
                                       <%-- <input id='events_recButton_Edit' type="image" src="~/App_Themes/main/styles/Blueprint/Images/en/ButtonEdit.gif"
                                            value="<%#Resources.strings.CCS_Insert%>" border="0" onserverclick='events_rec_Edit'
                                            runat="server" causesvalidation="false"/>
                                      
                                        <input id='events_recButton_Delete' type="image" causesvalidation="false" src="~/App_Themes/main/styles/Blueprint/Images/en/ButtonDelete.gif"
                                            value="<%#Resources.strings.CCS_Delete%>" border="0" onserverclick='events_rec_Delete'
                                            runat="server" onclick="if(!confirm('Are you sure ?')){return false;}" />
                                        <input id='Image2' type="image" causesvalidation="false" src="~/App_Themes/main/styles/Blueprint/Images/en/ButtonCancel.gif"
                                            value="<%#Resources.strings.CCS_Cancel%>" border="0" onserverclick='events_rec_Cancel'
                                            runat="server" />--%>
                                            
                                            
                                            
                                             <asp:Button CssClass="modalbtn_active" ID="events_recButton_Edit" runat="server" Text="Edit" OnClick="events_rec_Edit" meta:resourcekey="events_recButton_Edit" CausesValidation="false"/>
                           
                                                                      <asp:Button CssClass="modalbtn_active" ID="events_recButton_Delete" runat="server" Text="Delete" OnClick="events_rec_Delete" OnClientClick="if(!confirm('Are you sure ?')){return false;}" meta:resourcekey="events_recButton_Delete" CausesValidation="false"/>
                                                                     
                                                                     
         
          <asp:Button CssClass="modalbtn_active" ID="Image2" runat="server" Text="Cancel" OnClick="events_rec_Cancel" meta:resourcekey="events_recButton_Canceladd" CausesValidation="false"/>
         
         
                                            
                                            
                                            
                                            
                                            
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="panel_Edit" Style="display: none" runat="server" CssClass="ModalPopup"
                Width="450" Height="336">
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="modal_header_left bottom_black">
                            &nbsp;
                        </td>
                        <td class="modal_header_bg" valign="top">
                            <div class="modal_header">
                                <asp:Literal ID="ML_0030" runat="server" meta:resourcekey="ML_0030">Edit Event</asp:Literal></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="modal_rtgrey">
                            &nbsp;
                        </td>
                        <td class="modal_bg">
                            <div style="overflow: auto; overflow-x: hidden; width: 380px; height: 230px;">
                                <table width="100%" cellspacing="0" cellpadding="4">
                                
                                 <tr>
                                        <td class="rcontent" colspan="3">
                                            <asp:RadioButtonlist ID="rblEventtypeedit" runat="server" RepeatDirection="Horizontal" >
                                            <asp:ListItem Value="S" meta:resourcekey="Ml_rbltype1"></asp:ListItem>
                                            <asp:ListItem Value="H" meta:resourcekey="Ml_rbltype2"></asp:ListItem>
                                           
                                           
                                           </asp:RadioButtonlist>
                                            
                                        </td>
                                        
                                    </tr>
                                
                                
                                    <tr>
                                        <td class="rcontent">
                                            <asp:Literal ID="ML_0031" runat="server" meta:resourcekey="ML_0031">Date</asp:Literal>
                                        </td>
                                        <td class="colon">
                                            :
                                        </td>
                                        <td>
                                            <asp:Label CssClass="blue_mid" ID="events_recevent_dateupdt" maxlength="10" Columns="10"
                                                runat="server"></asp:Label>
                                            <br />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="rcontent" valign="top">
                                            <asp:Literal ID="ML_0034" runat="server" meta:resourcekey="ML_0034">Title</asp:Literal><span class="red2"></span>
                                        </td>
                                        <td class="colon" valign="top">
                                            :
                                        </td>
                                        <td valign="top">
                                            <asp:TextBox CssClass="textbox1" ID="events_recevent_titleupdt" MaxLength="100" Columns="50"
                                                runat="server" />
                                                
                                                   <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="events_recevent_titleupdt" ErrorMessage="<div class='alert' align='left'>Cannot be left blank</div>" Display="Dynamic"
                                                ValidationGroup="vgTitleEdit" meta:resourcekey="RequiredFieldValidator3"></asp:RequiredFieldValidator>
                                                
                                        </td>
                                    </tr>
                                    <tr>
                                        <td valign="top" class="rcontent">
                                            <asp:Literal ID="ML_0038" runat="server" meta:resourcekey="ML_0038">Notes</asp:Literal>
                                        </td>
                                        <td class="colon" valign="top">
                                            :
                                        </td>
                                        <td>
                                            <asp:TextBox CssClass="textarea" ID="events_recevent_descupdt" Rows="5" Columns="50"
                                                TextMode="MultiLine" runat="server" />
                                                
                                                 <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="events_recevent_descupdt" ErrorMessage="<div class='alert' align='left'>Cannot be left blank</div>" Display="Dynamic"
                                                ValidationGroup="vgTitleEdit" meta:resourcekey="RequiredFieldValidator3"></asp:RequiredFieldValidator>
                                                
                                            <input id="Hidden2" type="hidden" runat="server" />
                                            <asp:HiddenField ID="HiddenField2" runat="server" Value="1" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div class="separator_hor">
                            </div>
                            <table width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="right" colspan="2">
                                        <%--<input id='events_recButton_Update' type="image" src="~/App_Themes/main/styles/Blueprint/Images/en/ButtonUpdate.gif"
                                            value="<%#Resources.strings.CCS_Update%>" border="0" onserverclick='events_rec_Update'
                                            runat="server" validationgroup="vgTitleEdit"/>
                                        <input id='Image3' type="image" src="~/App_Themes/main/styles/Blueprint/Images/en/ButtonCancel.gif"
                                            value="<%#Resources.strings.CCS_Cancel%>" border="0" onserverclick='events_rec_Cancel'
                                            runat="server" causesvalidation="false"/>--%>
                                            
                                             <asp:Button CssClass="modalbtn_active" ID="events_recButton_Update" runat="server" Text="Update" OnClick="events_rec_Update" meta:resourcekey="events_recButton_Update" validationgroup="vgTitleEdit" />
                          
          <asp:Button CssClass="modalbtn_active" ID="Image3" runat="server" Text="Cancel" OnClick="events_rec_Cancel" meta:resourcekey="events_recButton_Canceladd" CausesValidation="false" OnClientClick="hidePopup('ctl00_ContentPlaceHolder1_ModalPopupExtender4')"/>
         
                                            
                                            
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            
            <cc1:ModalPopupExtender ID="ModalPopupExtender4" runat="server" BackgroundCssClass="Inactive"
                TargetControlID="events_recButton_Edit" PopupControlID="panel_Edit" />
                
            <%--####################### Add New Calendar Section #######################--%>
            <asp:Panel ID="panel_AddNewCalendar" runat="server" CssClass="ModalPopup" Width="630px" Height="541px" Style="display: none;">
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="modal_header_left bottom_black">&nbsp;</td>
                        <td class="modal_header_bg" valign="top"><div class="modal_header"><asp:Literal ID="ML_0045" runat="server" meta:resourcekey="ML_0045">Add New Calendar</asp:Literal></div></td>
                    </tr>
                    <tr>
                        <td class="modal_rtgrey">&nbsp;</td>
                        <td class="modal_bg"> 
                                    <div style="overflow: auto; overflow-x: hidden; width: 565px; height: 435px;">
                                        <table border="0" cellspacing="0" cellpadding="4" width="100%">
                                            <tr>
                                                <td>
                                                    <table>
                                                        <tr>
                                                            <td valign="top">
                                                                <asp:Literal ID="ML_0046" runat="server" meta:resourcekey="ML_0046">Title</asp:Literal>
                                                            </td>
                                                            <td class="colon" valign="top">
                                                                :
                                                            </td>
                                                            <td class="student_content1">
                                                                <asp:TextBox CssClass="textbox1" ID="txtTitleCal" runat="server"></asp:TextBox><br />
                                                                <asp:RequiredFieldValidator ID="RFTitle" runat="server" ControlToValidate="txtTitleCal"  ErrorMessage="<div class='alert' align='left'>Title is Required</div>" Display="Dynamic" meta:resourcekey="RFTitleEdit"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td></td>
                                                         </tr>
                                                         <tr>
                                                                <td valign="top"><asp:Literal ID="ML_0050" runat="server" meta:resourcekey="ML_0050">Default School Calendar</asp:Literal> </td>
                                                            <td valign="top">:</td>
                                                                <td valign="top">
                                        <asp:CheckBox ID="chkDefault" runat="server" Text="Yes" meta:resourcekey="chkDefault"/> &nbsp;&nbsp;<asp:CheckBox ID="chkDefault2" runat="server" Text="No" meta:resourcekey="chkDefault2"/>
                                        
                                        
                                                            </td>
                                                            <td></td>
                                                         </tr>
                                                         <tr>
                                                            <td>
                                                                <asp:Literal ID="ML_0090" runat="server" meta:resourcekey="ML_0090">From</asp:Literal>
                                                            </td>
                                                            <td class="colon">
                                                                :
                                                            </td>
                                                            <td>
                                                                <table width="100%" cellpadding="0" cellspacing="3">
                                                                    <tr>
                                                                        <td class="school_lcontent">
                                                                            <asp:TextBox CssClass="textbox_date" ID="txtFrmDate" runat="server" ></asp:TextBox><br />
                                                                            <cc1:CalendarExtender ID="CalExtFrmDate" runat="server" PopupButtonID="ImgFrmDate" TargetControlID="TxtFrmDate" ></cc1:CalendarExtender>
                                                                        </td>
                                                                        <td valign="top" align="left">
                                                                            <asp:ImageButton ID="ImgFrmDate" ImageUrl="~/App_Themes/main/imagescalendar/calendar.png"
                                                                                AlternateText="Select From Date" runat="server" meta:resourcekey="ImgFrmDate"/>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td></td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Literal ID="ML_0095" runat="server" meta:resourcekey="ML_0095">To</asp:Literal>
                                                            </td>
                                                            <td class="colon">
                                                                :
                                                            </td>
                                                            <td>
                                                                <table width="100%" cellpadding="0" cellspacing="3">
                                                                    <tr>
                                                                        <td class="school_lcontent">
                                                                            <asp:TextBox CssClass="textbox_date" ID="txtToDate" runat="server" ></asp:TextBox><br />
                                                                            <cc1:CalendarExtender ID="CalExtToDate" runat="server" PopupButtonID="ImgToDate" TargetControlID="txtToDate" ></cc1:CalendarExtender>
                                                                        </td>
                                                                        <td valign="top" align="left">
                                                                            <asp:ImageButton ID="ImgToDate" ImageUrl="~/App_Themes/main/imagescalendar/calendar.png"
                                                                                AlternateText="Select To Date" runat="server" meta:resourcekey="ImgToDate"/>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td></td>
                                                        </tr>
                                                        
                                                        
                                                                                                            
                                               </table>
                                                </td>
                                            </tr>
                                            <tr>
                                    <td>
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr><td><strong><asp:Literal ID="ML_0100" runat="server" meta:resourcekey="ML_0100">Select School Timing :</asp:Literal></strong><div class="clear_small"></div></td></tr>
                                    <tr>
                                    <td class="grey_content">
                                    <asp:Table ID="tbldays" runat="server" BorderWidth="0" Width="100%">
                                        <asp:TableHeaderRow>
                                      <asp:TableHeaderCell Width="20%" ID="tableheadercell1" runat="server" ColumnSpan="2" HorizontalAlign="Left" >
                                        <asp:CheckBox ID="chkAll" runat="server" onclick="javascript:ToggleCheckboxes(this,'Add');" />
                                 <asp:Literal ID="ltrlSelAladd" runat="server" meta:resourcekey="ltrlSelAladd">Select All</asp:Literal>
                                  </asp:TableHeaderCell>
                                         <asp:TableHeaderCell Width="40%" ID="tableheadercell2" runat="server" HorizontalAlign="left" meta:resourcekey="tableheadercell2">Start Time</asp:TableHeaderCell>
                                         <asp:TableHeaderCell Width="40%" ID="tableheadercell3" runat="server" HorizontalAlign="left" meta:resourcekey="tableheadercell3">End Time</asp:TableHeaderCell>
                                        </asp:TableHeaderRow>
                                        <asp:TableRow>
                                        <asp:TableCell ID="TableCellSeperator" runat="server" ColumnSpan="4" meta:resourcekey="TableCellSeperator"><div class="separator_hor"></div></asp:TableCell>
                                        </asp:TableRow>
                                       
                                            <asp:TableRow>
                                            
                                                <asp:TableCell Width="1%" ID="TableCell1" runat="server">
                                                    <asp:CheckBox ID="chkSun" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkSun','ctl00_ContentPlaceHolder1_txtSunSrtTime1','ctl00_ContentPlaceHolder1_txtSunSrtTime2','ctl00_ContentPlaceHolder1_txtSunEndTime1','ctl00_ContentPlaceHolder1_txtSunEndTime2','ctl00_ContentPlaceHolder1_ddlSunSrt','ctl00_ContentPlaceHolder1_ddlSunEnd')"/>
                                                </asp:TableCell>
                                                <asp:TableCell Width="29%" ID="TableCell2" runat="server" meta:resourcekey="TableCell2">Sunday</asp:TableCell><asp:TableCell Width="35%" ID="TableCell3" runat="server"><asp:TextBox CssClass="textbox_small" ID="txtSunSrtTime1" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunSrtTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox CssClass="textbox_small" ID="txtSunSrtTime2" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunSrtTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSunSrt" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_0164"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_0228"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell Width="35%" ID="TableCell4" runat="server"><asp:TextBox ID="txtSunEndTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunEndTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtSunEndTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunEndTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSunEnd" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_0296"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_0364"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell5" runat="server">
                                                    <asp:CheckBox ID="chkMon" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkMon','ctl00_ContentPlaceHolder1_txtMonSrtTime1','ctl00_ContentPlaceHolder1_txtMonSrtTime2','ctl00_ContentPlaceHolder1_txtMonEndTime1','ctl00_ContentPlaceHolder1_txtMonEndTime2','ctl00_ContentPlaceHolder1_ddlMonSrt','ctl00_ContentPlaceHolder1_ddlMonEnd')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell6" runat="server" meta:resourcekey="TableCell6">Monday</asp:TableCell><asp:TableCell ID="TableCell7" runat="server"><asp:TextBox ID="txtMonSrtTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonSrtTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtMonSrtTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonSrtTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlMonSrt" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_0440"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_0516"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell8" runat="server"><asp:TextBox ID="txtMonEndTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonEndTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtMonEndTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonEndTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList runat="server" ID="ddlMonEnd" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell9" runat="server">
                                                    <asp:CheckBox ID="chkTue" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkTue','ctl00_ContentPlaceHolder1_txtTueSrtTime1','ctl00_ContentPlaceHolder1_txtTueSrtTime2','ctl00_ContentPlaceHolder1_txtTueEndTime1','ctl00_ContentPlaceHolder1_txtTueEndTime2','ctl00_ContentPlaceHolder1_ddlTueSrt','ctl00_ContentPlaceHolder1_ddlTueEnd')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell10" runat="server" meta:resourcekey="TableCell10">Tuesday</asp:TableCell><asp:TableCell ID="TableCell11" runat="server"><asp:TextBox ID="txtTueSrtTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueSrtTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtTueSrtTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueSrtTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlTueSrt" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_0606"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_0696"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell12" runat="server"><asp:TextBox ID="txtTueEndTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueEndTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtTueEndTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueEndTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlTueEnd" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_0790"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_0884"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell13" runat="server">
                                                    <asp:CheckBox ID="chkWed" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkWed','ctl00_ContentPlaceHolder1_txtWedSrtTime1','ctl00_ContentPlaceHolder1_txtWedSrtTime2','ctl00_ContentPlaceHolder1_txtWedEndTime1','ctl00_ContentPlaceHolder1_txtWedEndTime2','ctl00_ContentPlaceHolder1_ddlWedSrt','ctl00_ContentPlaceHolder1_ddlWedEnd')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell14" runat="server" meta:resourcekey="TableCell14">Wednesday</asp:TableCell><asp:TableCell ID="TableCell15" runat="server"><asp:TextBox ID="txtWedSrtTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedSrtTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtWedSrtTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedSrtTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlWedSrt" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_0986"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_1088"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell16" runat="server"><asp:TextBox ID="txtWedEndTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedEndTime1')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtWedEndTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedEndTime2')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlWedEnd" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_1194"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_1300"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell17" runat="server">
                                                    <asp:CheckBox ID="chkThurs" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkThurs','ctl00_ContentPlaceHolder1_txtThuSrtTime1','ctl00_ContentPlaceHolder1_txtThuSrtTime2','ctl00_ContentPlaceHolder1_txtThuEndTime1','ctl00_ContentPlaceHolder1_txtThuEndTime2','ctl00_ContentPlaceHolder1_ddlThuSrt','ctl00_ContentPlaceHolder1_ddlThuEnd')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell18" runat="server" meta:resourcekey="TableCell18">Thursday</asp:TableCell><asp:TableCell ID="TableCell19" runat="server"><asp:TextBox ID="txtThuSrtTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuSrtTime1')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtThuSrtTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuSrtTime2')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlThuSrt" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_1414"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_1528"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell20" runat="server"><asp:TextBox ID="txtThuEndTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuEndTime1')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtThuEndTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuEndTime2')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlThuEnd" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_1646"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_1764"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell21" runat="server">
                                                    <asp:CheckBox ID="chkFri" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkFri','ctl00_ContentPlaceHolder1_txtFriSrtTime1','ctl00_ContentPlaceHolder1_txtFriSrtTime2','ctl00_ContentPlaceHolder1_txtFriEndTime1','ctl00_ContentPlaceHolder1_txtFriEndTime2','ctl00_ContentPlaceHolder1_ddlFriSrt','ctl00_ContentPlaceHolder1_ddlFriEnd')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell22" runat="server" meta:resourcekey="TableCell22">Friday</asp:TableCell><asp:TableCell ID="TableCell23" runat="server"><asp:TextBox ID="txtFriSrtTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriSrtTime1')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtFriSrtTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriSrtTime2')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlFriSrt" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_1890"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_2016"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell24" runat="server"><asp:TextBox ID="txtFriEndTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriEndTime1')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtFriEndTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriEndTime2')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlFriEnd" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_2146"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_2276"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell25" runat="server">
                                                    <asp:CheckBox ID="chkSat" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkSat','ctl00_ContentPlaceHolder1_txtSatSrtTime1','ctl00_ContentPlaceHolder1_txtSatSrtTime2','ctl00_ContentPlaceHolder1_txtSatEndTime1','ctl00_ContentPlaceHolder1_txtSatEndTime2','ctl00_ContentPlaceHolder1_ddlSatSrt','ctl00_ContentPlaceHolder1_ddlSatEnd')" />
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell26" runat="server" meta:resourcekey="TableCell26">Saturday</asp:TableCell><asp:TableCell ID="TableCell27" runat="server"><asp:TextBox ID="txtSatSrtTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatSrtTime1')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtSatSrtTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatSrtTime2')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSatSrt" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_2414"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_2552"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell28" runat="server"><asp:TextBox ID="txtSatEndTime1" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatEndTime1')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtSatEndTime2" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatEndTime2')" Enabled="false" onkeydown="return isNumberKey(event)"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSatEnd" runat="server" Enabled="false"><asp:ListItem Text="AM" meta:resourcekey="ML_2694"></asp:ListItem><asp:ListItem Text="PM" meta:resourcekey="ML_2836"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                        </asp:Table>
                                    </td>
                                    </tr>
                                    </table>
                                        
                                    </td>
                                </tr>
                                        </table>
                                    </div>
                                    <div class="separator_hor">
                                    </div>
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td align="right">
                                                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" 
                                                    CssClass="modalbtn_active" meta:resourcekey="btnSave"/>
                                                <asp:Button ID="btnCancel" CausesValidation="false" OnClick="btnCancel_Click" runat="server"
                                                    Text="Cancel" CssClass="modalbtn_active" meta:resourcekey="btnCancel" OnClientClick="hidePopup('ctl00_ContentPlaceHolder1_ModalPopAddnewCal')"/>
                                            </td>
                                        </tr>
                                    </table>
                             </td></tr></table>
            </asp:Panel>
            
            <cc1:ModalPopupExtender ID="ModalPopAddnewCal" runat="server" BackgroundCssClass="Inactive"
                TargetControlID="ibtnAdd" PopupControlID="panel_AddNewCalendar" />
                
                <%--####################### Edit Calender Section #######################--%>
                 <asp:Panel ID="panel_EditCalender" Style="display: none;" runat="server" CssClass="ModalPopup" Width="630px" Height="541px">
              <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="modal_header_left bottom_black">&nbsp;</td>
                        <td class="modal_header_bg" valign="top"><div class="modal_header"><asp:Literal ID="ML_2841" runat="server" meta:resourcekey="ML_2841">Edit Existing Calendar</asp:Literal></div></td>
                    </tr>
                    <tr>
                        <td class="modal_rtgrey">&nbsp;</td>
                        <td class="modal_bg"> 
                                    <div style="overflow: auto; overflow-x: hidden; width: 565px; height: 435px;">
                                    <asp:HiddenField ID="hdnCalenderID" runat="server" />
                                        <table border="0" cellspacing="0" cellpadding="4" width="100%">
                                            <tr>
                                                <td>
                                                    <table>
                                                        <tr>
                                                            <td valign="top">
                                                                <asp:Literal ID="ML_2843" runat="server" meta:resourcekey="ML_2843">Title</asp:Literal>
                                                            </td>
                                                            <td class="colon" valign="top">
                                                                <asp:Literal ID="ML_2844" runat="server" meta:resourcekey="ML_2844">:</asp:Literal>
                                                            </td>
                                                            <td class="student_content1">
                                                                <asp:TextBox CssClass="textbox1" ID="txtTitleCalEdit" runat="server"></asp:TextBox>
                                                                <br /><asp:RequiredFieldValidator ID="RFTitleEdit" runat="server" ControlToValidate="txtTitleCalEdit" ValidationGroup="Edit" ErrorMessage="<div class='alert' align='left'>Title is Required</div>" Display="Dynamic" meta:resourcekey="RFTitleEdit"></asp:RequiredFieldValidator>
                                                                </td>
                                                                <td></td>
                                                          </tr>
                                                          <tr>
                                                                <td valign="top"><asp:Literal ID="ML_2847" runat="server" meta:resourcekey="ML_2847">Default School Calendar</asp:Literal> </td>
                                                            <td valign="top"><asp:Literal ID="ML_2848" runat="server" meta:resourcekey="ML_2848">:</asp:Literal></td>
                                                                <td valign="top">
                                        <asp:CheckBox ID="chkDefaultEditYes" runat="server" Text="Yes" meta:resourcekey="chkDefaultEditYes"/> &nbsp;&nbsp;<asp:CheckBox ID="chkDefaultEditNo" runat="server" Text="No" meta:resourcekey="chkDefaultEditNo"/>
                                        
                                        
                                                            </td>
                                                            <td></td>
                                                         </tr>
                                                         <tr>
                                                            <td valign="top">
                                                                <asp:Literal ID="ML_2999" runat="server" meta:resourcekey="ML_2999">From</asp:Literal>
                                                            </td>
                                                            <td class="colon" valign="top">
                                                                :
                                                            </td>
                                                            <td>
                                                                <table width="100%" cellpadding="0" cellspacing="3">
                                                                    <tr>
                                                                        <td class="school_lcontent">
                                                                            <asp:TextBox CssClass="textbox_date" ID="TxtFrmDateEdit" runat="server" ></asp:TextBox><br />
                                                                            <cc1:CalendarExtender ID="CalExtFrmDateEdit" runat="server" PopupButtonID="ImgFrmDateEdit" TargetControlID="TxtFrmDateEdit" ></cc1:CalendarExtender>
                                                                        </td>
                                                                        <td valign="top" align="left">
                                                                            <asp:ImageButton ID="ImgFrmDateEdit" ImageUrl="~/App_Themes/main/imagescalendar/calendar.png"
                                                                                AlternateText="Select From Date" runat="server" meta:resourcekey="ImgFrmDateEdit"/>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td></td>
                                                        </tr>
                                                        <tr>
                                                            <td valign="top">
                                                                <asp:Literal ID="ML_3004" runat="server" meta:resourcekey="ML_3004">To</asp:Literal>
                                                            </td>
                                                            <td class="colon" valign="top">
                                                                :
                                                            </td>
                                                            <td>
                                                                <table width="100%" cellpadding="0" cellspacing="3">
                                                                    <tr>
                                                                        <td class="school_lcontent">
                                                                            <asp:TextBox CssClass="textbox_date" ID="txtToDateEdit" runat="server" ></asp:TextBox><br />
                                                                            <cc1:CalendarExtender ID="CalExtToDateEdit" runat="server" PopupButtonID="ImgToDateEdit" TargetControlID="txtToDateEdit" ></cc1:CalendarExtender>
                                                                        </td>
                                                                        <td valign="top" align="left">
                                                                            <asp:ImageButton ID="ImgToDateEdit" ImageUrl="~/App_Themes/main/imagescalendar/calendar.png"
                                                                                AlternateText="Select To Date" runat="server" meta:resourcekey="ImgToDateEdit"/>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td></td>
                                                        </tr>
                                                        
                                                        
                                                                                                            
                                               </table>
                                                </td>
                                            </tr>
                                            <tr>
                                    <td>
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr><td><strong><asp:Literal ID="ML_3009" runat="server" meta:resourcekey="ML_3009">Select School Timing :</asp:Literal></strong><div class="clear_small"></div></td></tr>
                                    <tr>
                                    <td class="grey_content">
                                    <asp:Table ID="tbldaysEdit" runat="server" BorderWidth="0" Width="100%">
                                        <asp:TableHeaderRow>
                                        <asp:TableHeaderCell Width="20%" ID="tableheadercell1Edit" runat="server" ColumnSpan="2" HorizontalAlign="Left" meta:resourcekey="tableheadercell1Edit">
                                        <asp:CheckBox ID="chkAllEdit" runat="server" onclick="javascript:ToggleCheckboxes(this,'Edit');"/><asp:Literal ID="Literal1" runat="server" meta:resourcekey="ltrlSelAladd">Select All</asp:Literal></asp:TableHeaderCell>
                                         <asp:TableHeaderCell Width="40%" ID="tableheadercell2Edit" runat="server" HorizontalAlign="Left" meta:resourcekey="tableheadercell2Edit">Start Time</asp:TableHeaderCell>
                                         <asp:TableHeaderCell Width="40%" ID="tableheadercell3Edit" runat="server" HorizontalAlign="Left" meta:resourcekey="tableheadercell3Edit">End Time</asp:TableHeaderCell>
                                        </asp:TableHeaderRow>
                                        <asp:TableRow>
                                        <asp:TableCell ID="TableCell29" runat="server" ColumnSpan="4"><div class="separator_hor"></div></asp:TableCell>
                                        </asp:TableRow>
                                        
                                       
                                             <asp:TableRow>
                                            
                                                <asp:TableCell Width="1%" ID="TableCell30" runat="server">
                                                    <asp:CheckBox ID="chkSunEdit" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkSunEdit','ctl00_ContentPlaceHolder1_txtSunSrtTime1Edit','ctl00_ContentPlaceHolder1_txtSunSrtTime2Edit','ctl00_ContentPlaceHolder1_txtSunEndTime1Edit','ctl00_ContentPlaceHolder1_txtSunEndTime2Edit','ctl00_ContentPlaceHolder1_ddlSunSrtEdit','ctl00_ContentPlaceHolder1_ddlSunEndEdit')"/>
                                                </asp:TableCell>
                                                <asp:TableCell Width="29%" ID="TableCell31" runat="server" meta:resourcekey="TableCell2">Sunday</asp:TableCell>
                                                
                                                <asp:TableCell Width="35%" ID="TableCell32" runat="server">
                                                
                                                <asp:TextBox CssClass="textbox_small" ID="txtSunSrtTime1Edit" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunSrtTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox CssClass="textbox_small" ID="txtSunSrtTime2Edit" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunSrtTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSunSrtEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList>
                                                </asp:TableCell>
                                                
                                             <asp:TableCell Width="35%" ID="TableCell33" runat="server"><asp:TextBox ID="txtSunEndTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunEndTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtSunEndTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSunEndTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSunEndEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList>
                                             </asp:TableCell>
                                             
                                            </asp:TableRow>
                                            
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell34" runat="server">
                                                    <asp:CheckBox ID="chkMonEdit" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkMonEdit','ctl00_ContentPlaceHolder1_txtMonSrtTime1Edit','ctl00_ContentPlaceHolder1_txtMonSrtTime2Edit','ctl00_ContentPlaceHolder1_txtMonEndTime1Edit','ctl00_ContentPlaceHolder1_txtMonEndTime2Edit','ctl00_ContentPlaceHolder1_ddlMonSrtEdit','ctl00_ContentPlaceHolder1_ddlMonEndEdit')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell35" runat="server" meta:resourcekey="TableCell6">Monday</asp:TableCell><asp:TableCell ID="TableCell36" runat="server"><asp:TextBox ID="txtMonSrtTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonSrtTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtMonSrtTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonSrtTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlMonSrtEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell37" runat="server"><asp:TextBox ID="txtMonEndTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonEndTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtMonEndTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtMonEndTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList runat="server" ID="ddlMonEndEdit" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell38" runat="server">
                                                    <asp:CheckBox ID="chkTueEdit" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkTueEdit','ctl00_ContentPlaceHolder1_txtTueSrtTime1Edit','ctl00_ContentPlaceHolder1_txtTueSrtTime2Edit','ctl00_ContentPlaceHolder1_txtTueEndTime1Edit','ctl00_ContentPlaceHolder1_txtTueEndTime2Edit','ctl00_ContentPlaceHolder1_ddlTueSrtEdit','ctl00_ContentPlaceHolder1_ddlTueEndEdit')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell39" runat="server"  meta:resourcekey="TableCell10">Tuesday</asp:TableCell><asp:TableCell ID="TableCell40" runat="server"><asp:TextBox ID="txtTueSrtTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueSrtTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtTueSrtTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueSrtTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlTueSrtEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell41" runat="server"><asp:TextBox ID="txtTueEndTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueEndTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtTueEndTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtTueEndTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlTueEndEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell42" runat="server">
                                                    <asp:CheckBox ID="chkWedEdit" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkWedEdit','ctl00_ContentPlaceHolder1_txtWedSrtTime1Edit','ctl00_ContentPlaceHolder1_txtWedSrtTime2Edit','ctl00_ContentPlaceHolder1_txtWedEndTime1Edit','ctl00_ContentPlaceHolder1_txtWedEndTime2Edit','ctl00_ContentPlaceHolder1_ddlWedSrtEdit','ctl00_ContentPlaceHolder1_ddlWedEndEdit')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell43" runat="server" meta:resourcekey="TableCell14">Wednesday</asp:TableCell><asp:TableCell ID="TableCell44" runat="server"><asp:TextBox ID="txtWedSrtTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedSrtTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtWedSrtTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedSrtTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlWedSrtEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell45" runat="server"><asp:TextBox ID="txtWedEndTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedEndTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtWedEndTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtWedEndTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlWedEndEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell46" runat="server">
                                                    <asp:CheckBox ID="chkThuEdit" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkThuEdit','ctl00_ContentPlaceHolder1_txtThuSrtTime1Edit','ctl00_ContentPlaceHolder1_txtThuSrtTime2Edit','ctl00_ContentPlaceHolder1_txtThuEndTime1Edit','ctl00_ContentPlaceHolder1_txtThuEndTime2Edit','ctl00_ContentPlaceHolder1_ddlThuSrtEdit','ctl00_ContentPlaceHolder1_ddlThuEndEdit')" />
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell47" runat="server" meta:resourcekey="TableCell18">Thursday</asp:TableCell><asp:TableCell ID="TableCell48" runat="server"><asp:TextBox ID="txtThuSrtTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuSrtTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtThuSrtTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuSrtTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlThuSrtEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell49" runat="server"><asp:TextBox ID="txtThuEndTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuEndTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtThuEndTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtThuEndTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlThuEndEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell50" runat="server">
                                                    <asp:CheckBox ID="chkFriEdit" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkFriEdit','ctl00_ContentPlaceHolder1_txtFriSrtTime1Edit','ctl00_ContentPlaceHolder1_txtFriSrtTime2Edit','ctl00_ContentPlaceHolder1_txtFriEndTime1Edit','ctl00_ContentPlaceHolder1_txtFriEndTime2Edit','ctl00_ContentPlaceHolder1_ddlFriSrtEdit','ctl00_ContentPlaceHolder1_ddlFriEndEdit')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell51" runat="server" meta:resourcekey="TableCell22">Friday</asp:TableCell><asp:TableCell ID="TableCell52" runat="server"><asp:TextBox ID="txtFriSrtTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriSrtTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtFriSrtTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriSrtTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlFriSrtEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell53" runat="server"><asp:TextBox ID="txtFriEndTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriEndTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtFriEndTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtFriEndTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlFriEndEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="TableCell54" runat="server">
                                                    <asp:CheckBox ID="chkSatEdit" runat="server" onclick="EnabledTextBox('ctl00_ContentPlaceHolder1_chkSatEdit','ctl00_ContentPlaceHolder1_txtSatSrtTime1Edit','ctl00_ContentPlaceHolder1_txtSatSrtTime2Edit','ctl00_ContentPlaceHolder1_txtSatEndTime1Edit','ctl00_ContentPlaceHolder1_txtSatEndTime2Edit','ctl00_ContentPlaceHolder1_ddlSatSrtEdit','ctl00_ContentPlaceHolder1_ddlSatEndEdit')"/>
                                                </asp:TableCell>
                                                <asp:TableCell ID="TableCell55" runat="server" meta:resourcekey="TableCell26">Saturday</asp:TableCell><asp:TableCell ID="TableCell56" runat="server"><asp:TextBox ID="txtSatSrtTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatSrtTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtSatSrtTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatSrtTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSatSrtEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell><asp:TableCell ID="TableCell57" runat="server"><asp:TextBox ID="txtSatEndTime1Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatEndTime1Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;:&nbsp;<asp:TextBox ID="txtSatEndTime2Edit" CssClass="textbox_small" MaxLength="2" runat="server" onblur="TextBoxValue('ctl00_ContentPlaceHolder1_txtSatEndTime2Edit')" onkeydown="return isNumberKey(event)" Enabled="false"></asp:TextBox>&nbsp;<asp:DropDownList ID="ddlSatEndEdit" runat="server" Enabled="false"><asp:ListItem Text="AM"></asp:ListItem><asp:ListItem Text="PM"></asp:ListItem></asp:DropDownList></asp:TableCell>
                                            </asp:TableRow>
                                        </asp:Table>
                                    </td>
                                    </tr>
                                    </table>
                                        
                                    </td>
                                </tr>
                                        </table>
                                    </div>
                                    <div class="separator_hor">
                                    </div>
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td align="right">
                                                <asp:Button ID="btnEdit" runat="server" Text="Update" OnClick="btnEdit_Click"  ValidationGroup="Edit"  CssClass="modalbtn_active" meta:resourcekey="btnEdit"/>
                                                <asp:Button ID="btnEditCancel" CausesValidation="false" OnClick="btnEditCancel_Click" runat="server"
                                                    Text="Cancel" CssClass="modalbtn_active" meta:resourcekey="btnEditCancel"/>
                                            </td>
                                        </tr>
                                    </table>
                             </td></tr></table>
                
            </asp:Panel>
            
            <cc1:ModalPopupExtender ID="ModalPopEditNewCal" runat="server" BackgroundCssClass="Inactive"
                TargetControlID="imgBtnEdit" PopupControlID="panel_EditCalender" Enabled="false"/>
            
             <%--####################### Calender Details View Section #######################################--%>
                
                        <asp:MultiView ID="mvCalendar" runat="server">  
                            <asp:View ID="ViewAllCalenders" runat="server">
                                <table width="100%">
                                    <tr>
                                        <td align="right">
                                            <table border="0" cellspacing="0" cellpadding="0">
                                                <tr align="right">
                                                <td>
                                                        <asp:ImageButton ID="ibtnView" CausesValidation="false" runat="server" ImageUrl="~/App_Themes/main/images/view.png" OnClick="ibtnView_Click"/>
                                                    </td>
                                                      <td>
                                                        <img src="../App_Themes/main/images/icon_separator.png" />
                                                    </td>
                                                    <td>
                                                        <asp:ImageButton ID="ibtnAdd" CausesValidation="false" runat="server" ImageUrl="~/App_Themes/main/images/add.png" />
                                                    </td>
                                                    <td>
                                                        <img src="../App_Themes/main/images/icon_separator.png" />
                                                    </td>
                                                    <td>
                                                        <asp:ImageButton ID="imgBtnEdit" runat="server" ImageUrl="~/App_Themes/main/images/edit.png"
                                                            CausesValidation="false" OnClick="imgBtnEdit_Click" />
                                                    </td>
                                                    <td>
                                                        <img src="../App_Themes/main/images/icon_separator.png" />
                                                    </td>
                                                    <td>
                                                        <asp:ImageButton ID="imgBtnDelete" runat="server" ImageUrl="~/App_Themes/main/images/delete.png"
                                                            CausesValidation="false" OnClientClick="if(!confirm('Are you sure ?')){return false;}" OnClick="imgBtnDelete_Click" />
                                     <asp:HiddenField ID="hdnMultiIndex" runat="server"  />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        
                                        <div class="ClsReorderListContainer">
                                            <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                                                <tr>
                                                    <td class="grid_header">
                                                        <table width="100%" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td class="grid_header_left">
                                                                </td>
                                                                <td>
                                                                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr>
                                                                            <td class="white grid_header_lb small_width" style="padding-left: 42px; padding-right: 10px;"
                                                                                align="center">
                                                                                <asp:CheckBox ID="chkrow" runat="server" onclick="javascript:SelectDeselectAllCheckboxes(this);" />
                                                                            </td>
                                                                            <td width="60%" class="grid_header_txt grid_header_lb">
                                                                                <asp:Literal ID="ML_3299" runat="server" meta:resourcekey="ML_3299">Calendar Name</asp:Literal>
                                                                            </td>
                                                                            <td width="15%" class="grid_header_txt grid_header_lb">
                                                                                <asp:Literal ID="ML_3300" runat="server" meta:resourcekey="ML_3300">From Date</asp:Literal>
                                                                            </td>
                                                                            <td width="15%" class="grid_header_txt grid_header_lb">
                                                                                <asp:Literal ID="ML_3301" runat="server" meta:resourcekey="ML_3301">To Date</asp:Literal>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td class="grid_header_right">
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="blue_content2">
                                                        <cc1:ReorderList ID="rlAllCalenderDetails" LayoutType="Table" DragHandleAlignment="Left"
                                                            ItemInsertLocation="Beginning" DataKeyField="Caleder_Id" SortOrderField="Priority"
                                                            EnableViewState="true" OnItemReorder="rlAllCalenderDetails_ItemReorder" CallbackCssStyle="ClsCallBackStyle"
                                                            PostBackOnReorder="true" BorderWidth="0" runat="server">
                                                            <DragHandleTemplate>
                                                                <div class="ClsDragHandle">
                                                                </div>
                                                            </DragHandleTemplate>
                                                            <ItemTemplate>
                                                            <div class="grid_bg">
                                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                                    <tr>
                                                                        <td align="center" style="padding-left: 10px; padding-right: 10px;" width="3%">
                                                                            <asp:CheckBox ID="chkrow" runat="server" />
                                                                            <asp:HiddenField ID="hdnCalId" runat="server" Value='<%#Eval("Caleder_Id") %>' /><asp:HiddenField ID="hdntag" runat="server" Value='<%#Eval("Default_Tag") %>' />
                                                                        </td>
                                                                        <td width="60%">
                                                                            <asp:Label ID="lblTitle" runat="server" Text='<%#Eval("Calender_Name")%>'></asp:Label>
                                                                        </td>
                                                                        <td width="15%">
                                                                            <asp:Label ID="lblStartDate" runat="server" Text='<%#Eval("From_Date", "{0:d}") %>'></asp:Label>
                                                                        </td>
                                                                        <td width="15%">
                                                                            <asp:Label ID="lblEndDate" runat="server" Text='<%#Eval("To_Date", "{0:d}") %>'></asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                                </div>
                                                            </ItemTemplate>
                                                            <EmptyListTemplate>
                                                                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                                                                    <tr>
                                                                        <td align="center" class="grid_bg">
                                                                            <span class="blue_large"><asp:Literal ID="ML_5000" runat="server" meta:resourcekey="ML_5000">No Data Found</asp:Literal></span>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </EmptyListTemplate>
                                                            <ReorderTemplate>
                                                                <asp:Panel ID="Panel2" runat="server" CssClass="ClsReorderCue">
                                                                </asp:Panel>
                                                            </ReorderTemplate>
                                                        </cc1:ReorderList>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        
                                        
                                        </td>
                                    </tr>
                                </table>
                            </asp:View>
                            <asp:View ID="viewCalendarEvents" runat="server">
                                <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td align="left" style="padding-left:20px;">
                                            <span class="page_heading_black"><asp:Literal ID="ML_3312" runat="server" meta:resourcekey="ML_3312">Select Calendar :</asp:Literal>&nbsp;</span><asp:DropDownList ID="ddlCalendarName" CssClass="dropdown_small" runat="server" OnSelectedIndexChanged="ddlCalendarName_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList></td>
                                        <td style="padding-right:30px;" align="right"><asp:ImageButton  ID="imgbtnBack" ImageUrl="../App_Themes/main/images/backtolist.png" runat="server" Text="Back" OnClick="imgbtnBack_Click" CausesValidation="false"/></td>
                                    </tr>
                                </table>
                                <table width="100%" id="tableBlank" cellpadding="0" cellspacing="0" runat="server" visible="false">
                                    <tr>
                                        <td colspan="2">
                                            <div visible="false">
                                                <div class="clear_m"></div>
                                                <table class="Header"  width="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td class="HeaderLeft"><div style="width: 17px"></div></td>
                                                    <th>&nbsp;</th>
                                                    <td class="HeaderRight"><div style="width: 17px"></div></td>
                                                </tr>
                                            </table>
                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td class="Calendar" colspan="2" style="padding:10px;" align="center"><asp:Label ID="lblSelect" runat="server" Visible="false" CssClass="blue_large"></asp:Label></td>
                                                </tr>
                                            </table>
                                            </div>
                                        </td>
                                    </tr>
                                    </table>
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td colspan="2">                           
                                <table border="0" cellspacing="5" cellpadding="0" width="100%">                                
                                    <tr>
                                     <td valign="top">
                                     
                                  
                                 <%-- <calendar:infopanelPage ID="infopanel" runat="server" Visible="true" />--%>
                               <calendar:infopanel ID="infopanel" runat="server" Visible="true" />
                                  
                                          
                                        </td>
                                        <td valign="top" align="left" style="vertical-align: top; text-align: left;" width="100%">
                                        
                                           
                                            <CC:Calendar  ID="cal_month" OnItemDataBound="cal_monthItemDataBound" MonthsInRow="4"
                                                Mode="OneMonth" runat="server" OnItemCommand="cal_monthItemCommand">
  
                                                <weekdaynamestyle class="CalendarWeekdayName" />
                                                <weekendnamestyle class="CalendarWeekdayName" />
                                                <daystyle class="CalendarDay" />
                                                <weekendstyle class="CalendarWeekend" />
                                                <todaystyle class="CalendarToday" />
                                                <weekendtodaystyle class="CalendarWeekendToday" />
                                                <othermonthdaystyle class="CalendarOtherMonthDay" />
                                                <othermonthtodaystyle class="CalendarOtherMonthToday" />
                                                <othermonthweekendstyle class="CalendarOtherMonthWeekend" />
                                                <othermonthweekendtodaystyle class="CalendarOtherMonthWeekendToday"
                                                />     
                                                <HolidayStyle class="CalendarHoliday" />
                                                <HeaderTemplate>
                                                    <table cellspacing="0" cellpadding="0" border="0" width="100%">
                                                        <tr>
                                                            <td>
                                                                <table cellspacing="0" cellpadding="0" border="0" class="Header">
                                                                    <tr>
                                                                        <td class="HeaderLeft">
                                                                            <div style="width: 17px">
                                                                            </div>
                                                                        </td>
                                                                        <th>
                                                                            <asp:Literal ID="ltrlMonthEvents" runat="server" meta:resourcekey="ML_3317">Monthly Events</asp:Literal>
                                                                            <%--<%=Resources.strings.month_events%>--%>,
                                                                            <asp:Literal ID="cal_monthMonthDate" Text='<%# Server.HtmlEncode(new DateField("MMMM",Container.CurrentProcessingDate).GetFormattedValue()).Replace("\r","").Replace("\n","<br>") %>'
                                                                                runat="server" />
                                                                               <%-- 12th aug--%>
                                                                                   <asp:Literal ID="Literal2" Text='<%# Server.HtmlEncode(new DateField(" yyyy",Container.CurrentProcessingDate).GetFormattedValue()).Replace("\r","").Replace("\n","<br>") %>'
                                                                                runat="server" />
                                                                                
                                                                        </th>
                                                                        <td class="HeaderRight">
                                                                            <div style="width: 17px">
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                                <table cellspacing="3" cellpadding="0" class="Calendar">
                                                                    <tr valign="top">
                                                </HeaderTemplate>
                                                <MonthHeaderTemplate>
                                                    <td>
                                                        <table cellspacing="0" cellpadding="0" class="Grid">
                                                            <tr>
                                                </MonthHeaderTemplate>
                                                <WeekDaysTemplate>
                                                    <td width="14.29%"  '<%#Container.StyleString%>'">
                                                        <asp:Literal ID="cal_monthDayOfWeek" Text='<%# Server.HtmlEncode(new DateField("dddd",Container.CurrentProcessingDate).GetFormattedValue()).Replace("\r","").Replace("\n","<br>") %>'
                                                            runat="server" />
                                                    </td>
                                                </WeekDaysTemplate>
                                                <WeekDaysFooterTemplate>
                                                    <td class="CalendarWeekdayName">
                                                        &nbsp;
                                                    </td>
                                                    </tr>
                                                </WeekDaysFooterTemplate>
                                                <WeekHeaderTemplate>
                                                    <tr height="60">
                                                </WeekHeaderTemplate>
                                                <DayHeaderTemplate>
                                                    <td valign="top" style="vertical-align: top; text-align: left; padding: 0px; " '<%#Container.StyleString%>'">
                                                        <div style="float: left;" class="DateContent">
                                                            <a id="cal_monthDayNumber" href="" runat="server">
                                                                <%#((DateTime)Container.CurrentProcessingDate).ToString("%d")%></a></div>
                                                        <div style="float: right; height: 100%;" class="AddEventWrapper">
                                                            <div>
                                                                <asp:HiddenField ID="hdnDataforEvents" runat="server" />
                                                              
                                                                <%--abhishek 0n 20th august june--%>
                                                             <%--   <cc1:ModalPopupExtender ID="ModalPopupExtender3" runat="server" BackgroundCssClass="Inactive"
                                                                    TargetControlID="cal_monthadd_events" PopupControlID="panel_AddEvent" Enabled="false" />--%>
                                                                <%--abhishek 20th august june--%>
                                                            </div>
                                                            <div style="padding-top: 10px;">
                                                                <%-- <a id="cal_monthadd_event" href="" runat="server" >
                                            
                                                    <img border="0" src="../App_Themes/main/imagescalendar/icon-add-big.gif" /></a>--%>
                                                                <asp:ImageButton ID="cal_monthadd_events" runat="server" CommandName="Addition" ImageUrl="../App_Themes/main/styles/Blueprint/Images/AddEvent.png" />
                                                            </div>
                                                        </div>
                                                </DayHeaderTemplate>
                                                <EventRowTemplate>
                                                    <div class="CalendarEvent" style="text-align: left; padding: 2px;">
                                                        <asp:Image ID="cal_monthcategory_image" hspace="3" vspace="3" runat="server" />
                                                        <asp:Literal ID="cal_monthEventTime" Text='<%# Server.HtmlEncode(((cal_monthItem)Container.DataItem).EventTime.GetFormattedValue()).Replace("\r","").Replace("\n","<br>") %>'
                                                            runat="server" /><asp:Literal ID="cal_monthEventTimeEnd" Text='<%# Server.HtmlEncode(((cal_monthItem)Container.DataItem).EventTimeEnd.GetFormattedValue()).Replace("\r","").Replace("\n","<br>") %>'
                                                                runat="server" />
                                                        <%--commented on 5th june abhishek--%>
                                                        <%--<a id="cal_monthEventDescription" href="" runat="server" >
                                                <%#((cal_monthItem)Container.DataItem).EventDescription.GetFormattedValue()%></a>--%>
                             
                           
                             
                             
                                                        <asp:LinkButton Font-Size="7" CommandName="View" ID="cal_monthEventDescription" runat="server"
                                                            Text='<%#((cal_monthItem)Container.DataItem).EventDescription.GetFormattedValue()%>' CausesValidation="false"></asp:LinkButton>
                                                            
                                                            <asp:HiddenField ID="hdnDesc" runat="server" Value='<%#((cal_monthItem)Container.DataItem).EventDescriptiontooltip.GetFormattedValue()%>' />
                                                            
                                                            
                                                        <asp:HiddenField ID="hdnfldEventNotes" runat="server" Value='<%#((cal_monthItem)Container.DataItem).EventNotes.GetFormattedValue()%>' />
                                                        <asp:HiddenField ID="hdnfldEventdate" runat="server" Value='<%#((cal_monthItem)Container.DataItem).EventDate.GetFormattedValue() %>' />
                                                        <asp:HiddenField ID="hdnEventId" runat="server" />
                                                        
                                                        <asp:HiddenField ID="hdneventtype" runat="server" Value='<%#((cal_monthItem)Container.DataItem).Eventtype.GetFormattedValue() %>' />
                                                        
                                                    </div>
                                                    <%--abhishek 0n 10th june--%>
                                                    <cc1:ModalPopupExtender ID="ModalPopupExtender2" runat="server" BackgroundCssClass="Inactive"
                                                        TargetControlID="cal_monthEventDescription" PopupControlID="panel_ViewEdit" Enabled="false" />
                                                    <%--abhishek 10th june--%>
                                                </EventRowTemplate>
                                                <DayFooterTemplate>
                                                    </td>
                                                </DayFooterTemplate>
                                                <EmptyDayTemplate>
                                        <td  '<%#Container.StyleString%>'>&nbsp;</td>
                                                </EmptyDayTemplate>
                                                <WeekFooterTemplate>
                                                    <td class="CalendarWeekView">
                                                        <a id="cal_monthgo_week" href="" runat="server">
                                                            <img border="0" src="../App_Themes/main/styles/Blueprint/Images/WeekView.png" /></a>
                                                    </td>
                                                    </tr>
                                                </WeekFooterTemplate>
                                                <MonthFooterTemplate>
                                                    </table> </td>
                                                </MonthFooterTemplate>
                                                <MonthsRowSeparatorTemplate>
                                                    </tr>
                                                    <tr valign="top">
                                                </MonthsRowSeparatorTemplate>
                                                <FooterTemplate>
                                                    </tr></table> </td> </tr> </table>
                                                    <div class="CalendarNavigatorWrapper">
                                                        <table width="100%" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td colspan="<%#Container.Owner.MonthsInRow.ToString()%>" class="CalendarNavigator"
                                                                    style="text-align: left;">
                                                                    <table>
                                                                        <tr>
                                                                            <CC:CalendarNavigator ID="cal_monthNavigator" YearsRange="5" Order="QuartersMonthsYears"
                                                                                runat="server" >
                                                                                <HeaderTemplate>
                                                                                    <input type="hidden" name="ccsForm" value='<%#PageVariables.Get("CalendarName")%>' />
                                                                                </HeaderTemplate>
                                                                                <Prev_YearTemplate>
                                                                                    <td valign="middle">
                                                                                        <a href="<%#Container.Url%>" title="Prev Year">
                                                                                            <img border="0" src="../App_Themes/main/styles/Blueprint/Images/Back.png" /></a>
                                                                                    </td>
                                                                                </Prev_YearTemplate>
                                                                                <PrevTemplate>
                                                                                    <td valign="middle">
                                                                                        <a href="<%#Container.Url%>" title="Prev Month">
                                                                                            <img border="0" src="../App_Themes/main/styles/Blueprint/Images/Prev.png" /></a>
                                                                                    </td>
                                                                                </PrevTemplate>
                                                                                <MonthsHeaderTemplate>
                                                                                    <td valign="middle">
                                                                                        <select  name="<%#Container.CalendarName%>Month"  >
                                                                                </MonthsHeaderTemplate>
                                                                                <RegularMonthTemplate>
                     <option style="font-family:Arial Unicode MS" value="<%#Container.Date.Month.ToString()%>"><%#Container.Date.ToString("MMM")%></option>
                                                                                </RegularMonthTemplate>
                                                                                <CurrentMonthTemplate>
             <option style="font-family:Arial Unicode MS"  value="<%#Container.Date.Month.ToString()%>" selected >
                                                                                        <%#Container.Date.ToString("MMM")%></option>
                                                                                </CurrentMonthTemplate>
                                                                                <MonthsFooterTemplate>
                                                                                    </select></td>
                                                                                </MonthsFooterTemplate>
                                                                                <YearsHeaderTemplate>
                                                                                    <td valign="middle">
                                                                                        <select name="<%#Container.CalendarName%>Year">
                                                                                </YearsHeaderTemplate>
                                                                                <RegularYearTemplate>
                                                                                    <option value="<%#Container.Date.Year.ToString()%>">
                                                                                        <%#Container.Date.Year.ToString()%></option>
                                                                                </RegularYearTemplate>
                                                                                <CurrentYearTemplate>
                                                                                    <option value="<%#Container.Date.Year.ToString()%>" selected>
                                                                                        <%#Container.Date.Year.ToString()%></option>
                                                                                </CurrentYearTemplate>
                                                                                <YearsFooterTemplate>
                                                                                    </select></td>
                                                                                </YearsFooterTemplate>
                                                                                <BodyTemplate>
                                                                                    <td valign="middle">
                                                                                        <div>
                                                                                          <%-- <input type="image" border="0" value="Submit" src="../App_Themes/main/styles/Blueprint/Images/Go.png" >--%>
                               
                               <input type="image" border="0" value="Submit" src="../App_Themes/main/styles/Blueprint/Images/<%=Session["MLUICulture"].ToString()%>-Go.gif" >
                               
                               
                                                                             <%--     <input type="image" border="0" runat="server" id="Button1" value="Submit" />--%>
                                                                                        
                                                                                      <%--  <asp:Button ID="btnGo" runat="server"  Text="Go" CssClass="modalbtn_active" OnClick="btnGo_Click"/>--%>
                                                                                  
                                                                                  </div>
                                                                                    </td>
                                                                                </BodyTemplate>
                                                                                <NextTemplate>
                                                                                    <td valign="middle">
                                                                                        <a href="<%#Container.Url%>" title="Next Month">
                                                                                            <img border="0" src="../App_Themes/main/styles/Blueprint/Images/Next.png" /></a>
                                                                                    </td>
                                                                                </NextTemplate>
                                                                                <Next_YearTemplate>
                                                                                    <td valign="middle">
                                                                                        <a href="<%#Container.Url%>" title="Next Year">
                                                                                            <img border="0" src="../App_Themes/main/styles/Blueprint/Images/Forward.png" /></a>
                                                                                    </td>
                                                                                </Next_YearTemplate>
                                                                                <FooterTemplate>
                                                                                </FooterTemplate>
                                                                            </CC:CalendarNavigator>
                                                                            <asp:PlaceHolder ID="cal_monthCalendarTypes" Visible="True" runat="server">
                                                                                <td align="right" width="100%">
                                                                                    <a id="cal_monthYearIcon" href="" runat="server">
                                                                                        <img src="../App_Themes/main/styles/Blueprint/Images/YearView.png" border="0" /></a>&nbsp;
                                                                                    <a id="cal_monthMonthIcon" href="" runat="server">
                                                                                        <img src="../App_Themes/main/styles/Blueprint/Images/MonthView.png" border="0" /></a>
                                                                                    <a id="cal_monthWeekIcon" href="" runat="server" visible="false">
                                                                                        <img src="../App_Themes/main/styles/Blueprint/Images/WeekView.png" border="0" /></a>
                                                                                </td>
                                                                            </asp:PlaceHolder>
                                                                        </tr>
                                                                    </table>
                                                                    <table>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </FooterTemplate>
                                            </CC:Calendar>
                                        </td>
                                    </tr>
                                   
                                </table>
                                    </td>
                                </tr>
                                </table> 
                            </asp:View>                            
                        </asp:MultiView>
                        
                        
                    <asp:Panel ID="pnlConfirm" Style="display: none" runat="server" CssClass="ModalPopup"
                 Width="292" Height="165">
              
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="alert_ltop"></td>
                        <td style="background-color:#fff; border-top:2px solid #645d5d;">&nbsp;</td>
                        <td class="alert_rtop"></td>
                    </tr>
                    <tr>
                        <td style="background-color:#fff; border-left:2px solid #645d5d;">&nbsp;</td>
                        <td class="alert_modal_bg">
                            <div style="text-align:center; padding:20px 0px 10px 0px; "><asp:Label CssClass="modal_alert" ID="lblConfirm" runat="server"></asp:Label></div>
                            <div class="clear"></div>
                            <div class="separator_hor"></div>
                            <div align="center">
                                  <asp:Button runat="server" ID="Button1" Text="Yes" OnClick="btnyes_Click" CausesValidation="false" CssClass="modalbtn_active" meta:resourcekey="btnyes" OnClientClick="hidePopup('ctl00_ContentPlaceHolder1_mdlPopConfirm')"/>
                            <asp:Button runat="server" ID="Button2" Text="No" OnClick="btnNo_Click" CausesValidation="false" CssClass="modalbtn_active" meta:resourcekey="btnNo"/>
                            </div>                    
                        </td>
                        <td style="background-color:#fff; border-right:2px solid #645d5d;">&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="alert_lbottom"></td>
                        <td style="background-color:#fff; border-bottom:2px solid #645d5d;">&nbsp;</td>
                        <td class="alert_rbottom"></td>
                    </tr>
                </table>
            </asp:Panel>
            
            <cc1:ModalPopupExtender ID="mdlPopConfirm" runat="server" BackgroundCssClass="Inactive"
                TargetControlID="hdnconfid" PopupControlID="pnlConfirm" />
                
                   <cc1:ModalPopupExtender ID="ModalPopupExtender3" runat="server" BackgroundCssClass="Inactive"
                                                                    TargetControlID="hdnaddevent" PopupControlID="panel_AddEvent" Enabled="false" />
                
                
                <asp:HiddenField ID="hdnconfid" runat="server" />
                 <asp:HiddenField ID="hdnaddevent" runat="server" />
                 
                  <asp:HiddenField ID="hdnInsorUpdt" runat="server" />
            
            
        </ContentTemplate>
    </asp:UpdatePanel>
     <script type="text/javascript" language="javascript">
         Sys.WebForms.PageRequestManager.getInstance().add_endRequest(foo);

         function foo() {

             if (document.getElementById("ctl00_ContentPlaceHolder1_chkSunEdit").checked == true) {
                 EnabledTextBox('ctl00_ContentPlaceHolder1_chkSunEdit', 'ctl00_ContentPlaceHolder1_txtSunSrtTime1Edit', 'ctl00_ContentPlaceHolder1_txtSunSrtTime2Edit', 'ctl00_ContentPlaceHolder1_txtSunEndTime1Edit', 'ctl00_ContentPlaceHolder1_txtSunEndTime2Edit', 'ctl00_ContentPlaceHolder1_ddlSunSrtEdit', 'ctl00_ContentPlaceHolder1_ddlSunEndEdit');
             }
             if (document.getElementById("ctl00_ContentPlaceHolder1_chkMonEdit").checked == true) {
                 EnabledTextBox('ctl00_ContentPlaceHolder1_chkMonEdit', 'ctl00_ContentPlaceHolder1_txtMonSrtTime1Edit', 'ctl00_ContentPlaceHolder1_txtMonSrtTime2Edit', 'ctl00_ContentPlaceHolder1_txtMonEndTime1Edit', 'ctl00_ContentPlaceHolder1_txtMonEndTime2Edit', 'ctl00_ContentPlaceHolder1_ddlMonSrtEdit', 'ctl00_ContentPlaceHolder1_ddlMonEndEdit');
             }
             if (document.getElementById("ctl00_ContentPlaceHolder1_chkTueEdit").checked == true) {
                 EnabledTextBox('ctl00_ContentPlaceHolder1_chkTueEdit', 'ctl00_ContentPlaceHolder1_txtTueSrtTime1Edit', 'ctl00_ContentPlaceHolder1_txtTueSrtTime2Edit', 'ctl00_ContentPlaceHolder1_txtTueEndTime1Edit', 'ctl00_ContentPlaceHolder1_txtTueEndTime2Edit', 'ctl00_ContentPlaceHolder1_ddlTueSrtEdit', 'ctl00_ContentPlaceHolder1_ddlTueEndEdit');
             }
             if (document.getElementById("ctl00_ContentPlaceHolder1_chkWedEdit").checked == true) {
                 EnabledTextBox('ctl00_ContentPlaceHolder1_chkWedEdit', 'ctl00_ContentPlaceHolder1_txtWedSrtTime1Edit', 'ctl00_ContentPlaceHolder1_txtWedSrtTime2Edit', 'ctl00_ContentPlaceHolder1_txtWedEndTime1Edit', 'ctl00_ContentPlaceHolder1_txtWedEndTime2Edit', 'ctl00_ContentPlaceHolder1_ddlWedSrtEdit', 'ctl00_ContentPlaceHolder1_ddlWedEndEdit');
             }
             if (document.getElementById("ctl00_ContentPlaceHolder1_chkThuEdit").checked == true) {
                 EnabledTextBox('ctl00_ContentPlaceHolder1_chkThuEdit', 'ctl00_ContentPlaceHolder1_txtThuSrtTime1Edit', 'ctl00_ContentPlaceHolder1_txtThuSrtTime2Edit', 'ctl00_ContentPlaceHolder1_txtThuEndTime1Edit', 'ctl00_ContentPlaceHolder1_txtThuEndTime2Edit', 'ctl00_ContentPlaceHolder1_ddlThuSrtEdit', 'ctl00_ContentPlaceHolder1_ddlThuEndEdit');
             }
             if (document.getElementById("ctl00_ContentPlaceHolder1_chkFriEdit").checked == true) {
                 EnabledTextBox('ctl00_ContentPlaceHolder1_chkFriEdit', 'ctl00_ContentPlaceHolder1_txtFriSrtTime1Edit', 'ctl00_ContentPlaceHolder1_txtFriSrtTime2Edit', 'ctl00_ContentPlaceHolder1_txtFriEndTime1Edit', 'ctl00_ContentPlaceHolder1_txtFriEndTime2Edit', 'ctl00_ContentPlaceHolder1_ddlFriSrtEdit', 'ctl00_ContentPlaceHolder1_ddlFriEndEdit');
             }
             if (document.getElementById("ctl00_ContentPlaceHolder1_chkSatEdit").checked == true) {
                 EnabledTextBox('ctl00_ContentPlaceHolder1_chkSatEdit', 'ctl00_ContentPlaceHolder1_txtSatSrtTime1Edit', 'ctl00_ContentPlaceHolder1_txtSatSrtTime2Edit', 'ctl00_ContentPlaceHolder1_txtSatEndTime1Edit', 'ctl00_ContentPlaceHolder1_txtSatEndTime2Edit', 'ctl00_ContentPlaceHolder1_ddlSatSrtEdit', 'ctl00_ContentPlaceHolder1_ddlSatEndEdit');
             }

         }
     </script>
     
</asp:Content>
